package com.zzx.util;

import java.io.Serializable;
import java.util.UUID;

public class UuidUtils implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -9086363285395794974L;

	public static String getUUID() {
		return UUID.randomUUID().toString().replace("-", "");
	}
	
	public static int getCurtimeInt() {
		long a = System.currentTimeMillis();
		return Integer.parseInt((a + "").substring(0, 10));
	}
}
